<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%
	String path = "/projectv3/";
	String postfix = ".jsp";
	String ipage = request.getParameter("ipage");
	if (ipage == null) {
		ipage = path + "index" + postfix;
	} else {
		ipage = path + ipage + postfix;
	}
%>
<!DOCTYPE html>
<html lang="ko">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title>JSP 프로젝트 v1</title>
		<link type="text/css" href="css/layout.css" rel="stylesheet" />
	</head>
	<body>
		<%@ include file="./layout/header.jspf" %>
		<%-- header --%>
		
		<jsp:include page="<%=ipage %>" />
		<%-- content --%>
		
		 <%@ include file="./layout/footer.jspf" %>
		 <%-- footer --%>		
	</body>
</html>
